package zzk.test.service.impl;

//import org.springframework.ai.tool.annotation.Tool;
//import org.springframework.ai.tool.annotation.ToolParam;
import org.springframework.stereotype.Service;
import zzk.base.mybatisPlus.service.impl.MyMyBaseServiceImpl;
import zzk.test.domain.User;
import zzk.test.mapper.UserMapper;
import zzk.test.service.UserService;

/**
 * <p>
 * TUserServiceImpl 服务实现类
 * </p>
 *
 * @author 86188
 * @since 2021-02-11
 */
@Service
public class UserServiceImpl extends MyMyBaseServiceImpl<UserMapper, User> implements UserService {

    @Override
//    @Tool(name = "findBooksByCategory", description = "根据图书分类精确查询图书")
    public User getByIdSelf(  int id) {
        return this.getById(id);
    }

    @Override
//    @Tool(name = "findBooksByCategory", description = "根据图书分类精确查询图书")
    public void saveSelf(  User user) {
        this.saveSelf(user);
    }
}
